
	{% extends "base.html" %}
	{% block title %} Welcome to Text Minging Demo Site {% endblock %}
	{% block head %}{{ name }} Pattern Contents {% endblock %}
	{% block content %}
		<h3> Pattern Table </h3>
		{% if patternList %}
		<table class='table table-striped table-bordered table-condensed'>
			<tread>
			<tr>
			<th>Type Name</th><th>Pattern String</th>
			</tr>
			</tread>
			{% for r in patternList %}
			<tr>
				<td>
				{{ r.name}}
				</td>
				<td> 
				{{ r.pattern}}
				</td>
			</tr>						
			{% endfor %}
		</table>
		{% else %}
			<p> no datas  </p>
		{% endif %}
		<h3> Type Table </h3>
		{% if typeList %}
		<table class='table table-striped table-bordered table-condensed'>
			<tread>
			<tr>
			<th>Type Name</th><th>Type Description</th>
			</tr>
			</tread>
			{% for r in typeList %}
			<tr>
				<td>
				{{ r.name}}
				</td>
				<td> 
				{{ r.des}}
				</td>
			</tr>						
			{% endfor %}
		</table>
		{% else %}
			<p> no datas  </p>
		{% endif %}
	{% endblock %}